#ifndef __S50CARDNUMBER_H__
#define __S50CARDNUMBER_H__


#include <vector>
using namespace std;
extern int S50CardNumber[12];


#define MAX_KEY		20
#define MAX_VALUE	128
typedef struct __AppConfig
{
	
	char key[MAX_KEY];
	char XHvalue[MAX_VALUE];
}APPCONFIG;

extern vector<APPCONFIG> appConfig;


extern bool ReadCardNumberFromFile(wchar_t* szFilePath);
extern bool WriteCardNumberToFile(wchar_t* szFilePath);


extern bool ReadConfigFromFile(wchar_t* szFilePath);
extern bool WriteConfigToFile(wchar_t* szFilePath);
extern bool GetConfigFromMem(const char *key,char *value);
#endif